"""
用for循环实现1~100求和
"""
sum=0
for x in range(101):
    sum+=x
print(sum)


